<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <title>title</title>
    <link rel="stylesheet" type="text/css" href="../css/api.css"/>
    <link rel="stylesheet" type="text/css" href="../css/sm.css"/>
    <style>
        html, body {
            background-color: #f8f8f8;
        }
        .title_p {
        	height: 35px;
        	line-height: 41px;
        	color: #333;
        	font-size: 12px;
        	padding: 0 15px;
        }
        .main {
        	background-color: #fff;
        }
        .main ul li .li_box {
        	height: 50px;
        	line-height: 50px;
        	border-bottom: 1px solid #e8e8e8;
        	display: -webkit-box;
        	display: -webkit-flex;
        	align-items: center;
        	padding: 0 15px;
        }
        .main ul li:last-child .li_box {
        	border-bottom: none;
        }
        .main ul li .li_box .li_boxl {
        	width: 0;
        	flex: 1;
        	-webkit-flex: 1;
        	box-flex: 1;
        	-webkit-box-flex: 1;
        	padding-right: 10px;
        	color: #999;
        	font-size: 14px;
        }
        .main ul li:last-child .li_box .li_boxl {
        	color: #333;
        	font-size: 15px;
        }
        .main ul li .li_box .li_boxr {
        	font-size: 12px;
        	color: #999;
        	overflow: hidden;
        	text-overflow: ellipsis;
        	white-space: nowrap;
        }
        .main ul li:last-child .li_box .li_boxr {
        	color: #e62442;
        	font-size: 16px;
        }
        
    </style>
</head>
<body>
	<div class="calendar">
        <div class="page-group">
            <div class="page">
                <div class="content">
                    <div class="content-block">
                        <div class="list-block">
                            <div data-toggle="date" id='calendar-inline'></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
	</div>
	<div class="title_p">7月26日</div>
    <div class="main">
    	<ul>
    		<li>
    			<div class="li_box">
    				<div class="li_boxl">在线时长 8小时</div>
    				<div class="li_boxr">RM31</div>
    			</div>
    		</li>
    		<li>
    			<div class="li_box">
    				<div class="li_boxl">配送费</div>
    				<div class="li_boxr">RM6</div>
    			</div>
    		</li>
    		<li>
    			<div class="li_box">
    				<div class="li_boxl">总计</div>
    				<div class="li_boxr">RM37</div>
    			</div>
    		</li>
    	</ul>
    </div>
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript" src="../script/zepto.js"></script>
<script type="text/javascript" src="../script/sm.min.js"></script>
<script type="text/javascript">
    apiready = function(){
        // 日历
        // $.init();
    };
        $("#calendar-inline").calendar({
            onChange: function() {
                console.log($('.picker-calendar-day-selected').attr('data-date'));
            }
            
        });
        $(".picker-calendar-day-today").addClass('picker-calendar-day-selected');
</script>
</html>